Processing query to MySQL databases and display results as a table.
Compatible with DokuWiki
Elenor Of Tsort, Frusterick Manners, Greebo
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to sqljson
Do you want to display data from your MySQL database in DokuWiki? No problem! This simple plugin processing query to MySQL database and displaying results as a table. You also may use it with DataTables Plugin for more usability such as – sorting, searching and etc.
Please donate if you like it.
Basic syntax:
<sql>query string</sql>
query string
– SQL query to perform against the database.Perform a simple query to display all records from the table “table”:
<sql>select * from table;</sql>
Using together with DataTables Plugin:
<datatables> <sql>select * from table;</sql> </datatables>
The plugin can be configured via the Configuration Manager
Option | Description | Default value |
---|---|---|
Host | DNS name or IP address of MySQL server | localhost |
DB | MySQL database name | (empty) |
user | MySQL user name | (empty) |
password | MySQL password | (empty) |